/*********************************************************************
* The utils header file
*
*	creation of date:	2010.07.16
*	author:				beetleleo
*	e-mail:				beetleleo@google.com
*	fixed:
**********************************************************************/

#include "utils.h"
#include <string.h>

/* converter ansi code to utf8 code */
gchar* ansi_to_utf8(const gchar* ansiSrc)
{
	gint length = strlen(ansiSrc);

	return g_locale_to_utf8(ansiSrc, length, NULL, NULL, NULL);
}